<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            height: 100vh;
            overflow: hidden;
            background: linear-gradient(123deg, #2E99B0 0%, #2E99B0 40%, #FCD77F calc(40% + 1px), #FCD77F 60%, #FF2E4C calc(60% + 1px), #FF2E4C 75%, #1E1548 calc(75% + 1px), #1E1548 100%);
        }
        input {
            outline: none;
            width: 200px;
            height: 40px;
        }
        .wrap {
            width: 500px;
            height: 250px;
            border: 1px solid #333333;
            margin: 0px auto;
            padding: 20px;
            position: relative;
            background-color: rgba(225,225,225,.3);
        }
        h1 {
            text-align: center;
            margin: 50px;
        }
        p {
            margin: 20px;
        }
        span {
            width: 100px;
            display: inline-block;
        }
        .btn {
            position: absolute;
            left: 0;
            right: 0;
            margin: auto;
            bottom: 20px;
            width: 150px;
            height: 40px;
            border: none;
            cursor: pointer;
            color: #fff;
            background-color: #2E99B0;
        }
    </style>
</head>
<body>
    <h1>注册页</h1>
    <div class="wrap">
        <form action="http://127.0.0.1/post" method="post">
            <p>
                <span>用户名</span><input type="text" name="user" id="">
            </p>
            <p>
                <span>密码</span><input type="password" name="pass" id="">
            </p>
            <input type="submit" value="注册" class="btn">
        </form>
    </div>
</body>
</html>